#include <stdio.h>
int main(){
	int n;
	int x;
	int cnt = 0;
	scanf("%d",&n);
	scanf("%d",&x);
	int number[n];
	while(cnt<n){
		number[cnt] = x;
		cnt++;
		scanf("%d",&x);
	
	}
	int t = 0;
	for(int i = 0;i<n-1;i++){
		for(int j = n-1;j>i;j--){
			if(number[j]<number[j-1]){
				t = number[j];number[j] = number[j-1];number[j-1] = t;t = 0;	
			}
		}
	}for(int i = 0;i<n;i++){
		printf("%2d",number[i]);
	}return 0;
}
